
package com.cms.dao;

import java.util.List;

import com.cms.entity.DormBuild;
import com.cms.utils.page.Pagination;

/**
 * @ClassName: DormBuildDao
 * @Description: TODO
 * @date 2021-02-27 15:12:50
 */
public interface DormBuildDao {

    int deleteByPrimaryKey(Integer id);

    int deleteInList(List<String> ids);

    int insert(DormBuild record) throws Exception;

    int getTotalItemsCount(String searchKey);

    DormBuild selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(DormBuild record);

    int insertBatch(List<DormBuild> list);

    List<DormBuild> selectBySearchKey(Pagination<DormBuild> page, String searchKey);

    List<DormBuild> getDormBuildForSelect(String searchKey);
}
